package com.achievement.mapper;

import com.achievement.domain.entity.PersonnelDispatchEntity;
import com.achievement.domain.vo.PersonnelDispatchVO;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

public interface PersonnelDispatchMapper extends BaseMapper<PersonnelDispatchEntity> {
    List<HashMap<String, Integer>> listStatistics(@Param(Constants.WRAPPER) LambdaQueryWrapper<PersonnelDispatchEntity> queryWrapper);

    List<PersonnelDispatchVO> selectByPage(@Param(Constants.WRAPPER) LambdaQueryWrapper<PersonnelDispatchEntity> queryWrapper);
}
